package hut.game.image;

import hut.game.R;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;

public class ImageData {
	public static Bitmap mBK;
	public static Bitmap rTuong;
	public static Bitmap rSi;
	public static Bitmap rTinh;
	public static Bitmap rXe;
	public static Bitmap rPhao;
	public static Bitmap rMa;
	public static Bitmap rChot;
	
	public static Bitmap bTuong;
	public static Bitmap bSi;
	public static Bitmap bTinh;
	public static Bitmap bXe;
	public static Bitmap bPhao;
	public static Bitmap bMa;
	public static Bitmap bChot;
	
	public static Bitmap btNew;
	public static Bitmap btOptions;
	public static Bitmap btUndo;
	public static Bitmap btExit;
	
	public static void loadData(Context context)
	{
		mBK = BitmapFactory.decodeResource(context.getResources(), R.drawable.background);
		rTuong = BitmapFactory.decodeResource(context.getResources(), R.drawable.rtuong);
		rSi = BitmapFactory.decodeResource(context.getResources(), R.drawable.rsy);
		rTinh = BitmapFactory.decodeResource(context.getResources(), R.drawable.rtinh);
		rXe = BitmapFactory.decodeResource(context.getResources(), R.drawable.rxe);
		rPhao = BitmapFactory.decodeResource(context.getResources(), R.drawable.rphao);
		rMa = BitmapFactory.decodeResource(context.getResources(), R.drawable.rma);
		rChot = BitmapFactory.decodeResource(context.getResources(), R.drawable.rchot);
		
		bTuong = BitmapFactory.decodeResource(context.getResources(), R.drawable.btuong);
		bSi = BitmapFactory.decodeResource(context.getResources(), R.drawable.bsy);
		bTinh = BitmapFactory.decodeResource(context.getResources(), R.drawable.btinh);
		bXe = BitmapFactory.decodeResource(context.getResources(), R.drawable.bxe);
		bPhao = BitmapFactory.decodeResource(context.getResources(), R.drawable.bphao);
		bMa = BitmapFactory.decodeResource(context.getResources(), R.drawable.bma);
		bChot = BitmapFactory.decodeResource(context.getResources(), R.drawable.bchot);
		
		btNew = BitmapFactory.decodeResource(context.getResources(), R.drawable.newgame);
		btOptions = BitmapFactory.decodeResource(context.getResources(), R.drawable.option);
		btUndo = BitmapFactory.decodeResource(context.getResources(), R.drawable.undo);
		btExit = BitmapFactory.decodeResource(context.getResources(), R.drawable.exit);
	}
	
	/**Resize Image Fish comfortable all screen size*/
	public static void resize()
	{
	}
	
}
